package token

import (
	"net/http"

	"github.com/my/repo/Desktop/Go15/project/vblog/exception"
)

var (	
	ErrAuthFailed = exception.NewApiException(50001, "用户名或者密码不正确").WithHttpCode(http.StatusUnauthorized)
	ErrAccessTokenExpired = exception.NewApiException(50002, "Access token过期")
	ErrRefreshTokenExpired = exception.NewApiException(50003, "Refresh token过期")
	ErrPermissionDeny = exception.NewApiException(50004, "当前角色无权限访问该接口").WithHttpCode(http.StatusForbidden)
)
